package com.netposa.datawarehouse.statistics.vo;

import java.beans.ConstructorProperties;

public class DeviceCountVO {
   private int camera;
   private int carbayonet;
   private int facebayonet;
   private int policeofficer;
   private int policecar;
   private int wifi;
   private int rfid;
   private int taxi;
   private int electricfence;

   public int getCamera() {
      return this.camera;
   }

   public int getCarbayonet() {
      return this.carbayonet;
   }

   public int getFacebayonet() {
      return this.facebayonet;
   }

   public int getPoliceofficer() {
      return this.policeofficer;
   }

   public int getPolicecar() {
      return this.policecar;
   }

   public int getWifi() {
      return this.wifi;
   }

   public int getRfid() {
      return this.rfid;
   }

   public int getTaxi() {
      return this.taxi;
   }

   public int getElectricfence() {
      return this.electricfence;
   }

   public void setCamera(int camera) {
      this.camera = camera;
   }

   public void setCarbayonet(int carbayonet) {
      this.carbayonet = carbayonet;
   }

   public void setFacebayonet(int facebayonet) {
      this.facebayonet = facebayonet;
   }

   public void setPoliceofficer(int policeofficer) {
      this.policeofficer = policeofficer;
   }

   public void setPolicecar(int policecar) {
      this.policecar = policecar;
   }

   public void setWifi(int wifi) {
      this.wifi = wifi;
   }

   public void setRfid(int rfid) {
      this.rfid = rfid;
   }

   public void setTaxi(int taxi) {
      this.taxi = taxi;
   }

   public void setElectricfence(int electricfence) {
      this.electricfence = electricfence;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof DeviceCountVO)) {
         return false;
      } else {
         DeviceCountVO other = (DeviceCountVO)o;
         if (!other.canEqual(this)) {
            return false;
         } else if (this.getCamera() != other.getCamera()) {
            return false;
         } else if (this.getCarbayonet() != other.getCarbayonet()) {
            return false;
         } else if (this.getFacebayonet() != other.getFacebayonet()) {
            return false;
         } else if (this.getPoliceofficer() != other.getPoliceofficer()) {
            return false;
         } else if (this.getPolicecar() != other.getPolicecar()) {
            return false;
         } else if (this.getWifi() != other.getWifi()) {
            return false;
         } else if (this.getRfid() != other.getRfid()) {
            return false;
         } else if (this.getTaxi() != other.getTaxi()) {
            return false;
         } else {
            return this.getElectricfence() == other.getElectricfence();
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof DeviceCountVO;
   }

   public int hashCode() {
      
      int result = 1;
      result = result * 59 + this.getCamera();
      result = result * 59 + this.getCarbayonet();
      result = result * 59 + this.getFacebayonet();
      result = result * 59 + this.getPoliceofficer();
      result = result * 59 + this.getPolicecar();
      result = result * 59 + this.getWifi();
      result = result * 59 + this.getRfid();
      result = result * 59 + this.getTaxi();
      result = result * 59 + this.getElectricfence();
      return result;
   }

   public String toString() {
      return "DeviceCountVO(camera=" + this.getCamera() + ", carbayonet=" + this.getCarbayonet() + ", facebayonet=" + this.getFacebayonet() + ", policeofficer=" + this.getPoliceofficer() + ", policecar=" + this.getPolicecar() + ", wifi=" + this.getWifi() + ", rfid=" + this.getRfid() + ", taxi=" + this.getTaxi() + ", electricfence=" + this.getElectricfence() + ")";
   }

   @ConstructorProperties({"camera", "carbayonet", "facebayonet", "policeofficer", "policecar", "wifi", "rfid", "taxi", "electricfence"})
   public DeviceCountVO(int camera, int carbayonet, int facebayonet, int policeofficer, int policecar, int wifi, int rfid, int taxi, int electricfence) {
      this.camera = camera;
      this.carbayonet = carbayonet;
      this.facebayonet = facebayonet;
      this.policeofficer = policeofficer;
      this.policecar = policecar;
      this.wifi = wifi;
      this.rfid = rfid;
      this.taxi = taxi;
      this.electricfence = electricfence;
   }

   public DeviceCountVO() {
   }
}
